<?php
session_start();
//die($HTTP_SESSION_VARS);
//die($_SESSION['company_id']);
if(!isset($_SESSION['company_id']))
{
echo "<script type=text/javascript>
alert('Your session has expired. Please login to continue.');
top.location = 'login.php';
</script>";
}
header('Refresh: 180');
?>